<?php
	include(dirname(__FILE__) . '../../view/constantes/constantes.php'); 

	function displayInscriptionForm($MSG_INSC_H, $MSG_INSC_B, $retour) {
?>
		<table style="width:100%; text-align: center;">
			<tr>
				<!-- CADRE GAUCHE -->
					<td style="width: 60%; vertical-align: top; text-align: left; padding-right: 110px; text-align: justify;">
						<h1>Pourquoi s'inscrire ?</h1>
						<p />
						
						<?php echo $MSG_INSC_H; ?>
						<h1>D&eacute;j&agrave; inscrit ?</h1>
						<p />
						<?php echo $MSG_INSC_B; ?>
					</td>
				<!-- FIN CADRE GAUCHE -->

				<!-- CADRE MILIEU -->
					<td style="width: 40%; vertical-align: top; text-align: center;">
						<br />
						<div class="box">
							<div class="boxhead">
								<h1>Cr&eacute;er un compte</h1>							
							</div>
							
							<div class="boxmidd">
								<form name="formInsc" method="POST" action="?content=inscription&account=true&add=true" onSubmit="return checkInscription();" enctype="multipart/form-data">
								<table style="width:100%">
									<tr>
										<td>
											<div>Civilit&eacute;&nbsp;&nbsp;&nbsp;&nbsp;
												<input name="uCivilite" type="radio" value="F" checked="checked" />&nbsp;Femme
												&nbsp;
												<input name="uCivilite" type="radio" value="H" />&nbsp;Homme
											</div>
											<br />	
											<div><input name="uNom" id="uNom" type="text" placeHolder="Nom" value="" /></div>						
											<div><input name="uMail" type="text" placeHolder="Adresse de messagerie" value="" /></div>						
											<div><input name="uPassword" type="password" placeHolder="Cr&eacute;ez un mot de passe" value="" /></div>
											<div><input name="uPasswordConfirm" type="password" placeHolder="Confirmez le mot de passe" value="" /></div>
											<p />
											<div>Date de naissance</div>
											<div>
												<input name="uJour" type="small" placeHolder="Jour" value="" />
												<select name="uMois">
												  <option value="00">Mois</option>
												  <option value="01">Janvier</option>
												  <option value="02">F&eacute;vrier</option>
												  <option value="03">Mars</option>
												  <option value="04">Avril</option>
												  <option value="05">Mai</option>
												  <option value="06">Juin</option>
												  <option value="07">Juillet</option>
												  <option value="08">Ao&ucirc;t</option>
												  <option value="09">Septembre</option>
												  <option value="10">Octobre</option>
												  <option value="11">Novembre</option>
												  <option value="12">D&eacute;cembre</option>
												</select>
												<select name="uAnnee">
												  <option value="1995">1995</option>
												  <option value="1994">1994</option>
												  <option value="1993">1993</option>
												  <option value="1992">1992</option>
												  <option value="1991">1991</option>
												  <option value="1990">1990</option>
												  <option value="1989">1989</option>
												  <option value="1988">1988</option>
												  <option value="1987">1987</option>
												  <option value="1986">1986</option>
												  <option value="1985">1985</option>
												  <option value="1984">1984</option>
												  <option value="1983">1983</option>
												  <option value="1982">1982</option>
												  <option value="1981">1981</option>
												  <option value="1980">1980</option>
												  <option value="1979">1979</option>
												  <option value="1978">1978</option>
												  <option value="1977">1977</option>
												  <option value="1976">1976</option>
												  <option value="1975">1975</option>
												  <option value="1974">1974</option>
												  <option value="1973">1973</option>
												  <option value="1972">1972</option>
												  <option value="1971">1971</option>
												  <option value="1970">1970</option>
												  <option value="1969">1969</option>
												  <option value="1968">1968</option>
												  <option value="1967">1967</option>
												  <option value="1966">1966</option>
												  <option value="1965">1965</option>
												  <option value="1964">1964</option>
												  <option value="1963">1963</option>
												  <option value="1962">1962</option>
												  <option value="1961">1961</option>
												  <option value="1960">1960</option>
												  <option value="1959">1959</option>
												  <option value="1958">1958</option>
												  <option value="1957">1957</option>
												  <option value="1956">1956</option>
												  <option value="1955">1955</option>
												  <option value="1954">1954</option>
												  <option value="1953">1953</option>
												  <option value="1952">1952</option>
												  <option value="1951">1951</option>
												  <option value="1950">1950</option>
												</select>
											</div>
											<div> 
												<input name="uPays" type="text" placeHolder="Pays de r&eacute;sidence" value="" />
											</div>
											<div> 
												<input name="uVille" type="text" placeHolder="Ville" value="" />
											</div>
											<div> 
												<input name="uAdresse" type="text" placeHolder="Adresse" value="" />
											</div>
											<div> 
												<input name="uTelephone" type="text" placeHolder="T&eacute;l&eacute;phone" value="" />
											</div>
											<p />
											<div>
												<input name="uAccepte" type="checkbox" value="ok" checked="checked" disabled="disabled" />
												&nbsp;J'accepte les <a href="">les r&egrave;gles de diffusion</a> et les <a href="index.php?view=generale">conditions g&eacute;n&eacute;rales</a>
											</div>
											<br />
											<div>
												<input name="uSubmit" type="submit" value="Inscription" />
											</div>							
										</td>
									</tr>
								</table>
								</form>
							</div>
						</div>
						<br />	
					</td>
				<!-- FIN CADRE MILIEU -->
			</tr>
		</table>
		
<?php 
	}
	echo $retour;
	displayInscriptionForm($MSG_INSC_H, $MSG_INSC_B, $retour);
?>